package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.xmlbeans.GDate;

import java.util.Date;

/**
 * 新闻管理对象 tb_article
 * 
 * @author ruoyi
 * @date 2025-03-31
 */
public class TbArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 类型:news=新闻,help=帮助,other_curriculum=其他课程 */
    @Excel(name = "类型:news=新闻,help=帮助,other_curriculum=其他课程")
    private String tbType;

    /** 标题 */
    @Excel(name = "标题")
    private String tbTitle;

    /** 内容 */
    @Excel(name = "内容")
    private String tbContent;

    /** 图片组 */
    @Excel(name = "图片组")
    private String tbImages;

    /** 描述 */
    @Excel(name = "描述")
    private String tbDescribe;

    /** 状态:hidden=隐藏,normal=显示 */
    @Excel(name = "状态:hidden=隐藏,normal=显示")
    private String tbState;

    /** 删除时间 */
    @Excel(name = "删除时间")
    private Date deleteTime;


    private String createTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTbType(String tbType) 
    {
        this.tbType = tbType;
    }

    public String getTbType() 
    {
        return tbType;
    }
    public void setTbTitle(String tbTitle) 
    {
        this.tbTitle = tbTitle;
    }

    public String getTbTitle() 
    {
        return tbTitle;
    }
    public void setTbContent(String tbContent) 
    {
        this.tbContent = tbContent;
    }

    public String getTbContent() 
    {
        return tbContent;
    }
    public void setTbImages(String tbImages) 
    {
        this.tbImages = tbImages;
    }

    public String getTbImages() 
    {
        return tbImages;
    }
    public void setTbDescribe(String tbDescribe) 
    {
        this.tbDescribe = tbDescribe;
    }

    public String getTbDescribe() 
    {
        return tbDescribe;
    }
    public void setTbState(String tbState) 
    {
        this.tbState = tbState;
    }

    public String getTbState() 
    {
        return tbState;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tbType", getTbType())
            .append("tbTitle", getTbTitle())
            .append("tbContent", getTbContent())
            .append("tbImages", getTbImages())
            .append("tbDescribe", getTbDescribe())
            .append("tbState", getTbState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
